home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Mania 1
/
MacMania 1.toast
/
Educational
/
Sciences
/
DigSim 2.5
/
2 bit ALU doc
next >
Wrap
Text File
|
1986-10-26
|
525b
|
23 lines
2 bit Arithmetic Logic Unit
C1 C2
| |
-------------
A=a1 a0 ----| |
| |---- Z=z1z2
B=b1 b0 ----| |
| |
CarryIn ----| |---- CarryOut
-------------
C1 C2 Operation
___ ___ _________
0 0 A + B
0 1 A + B + CarryIn
1 0 A + 2s complement of B
1 1 A + 1s complement of B + carry